<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
用户名：<span th:text="${user1.name1}"></span>
年龄：<span th:text="${user1.age}"></span>
性别：<span th:text="${user1.sex}"></span>
编号：<span th:text="${user1.code}"></span>
</body>
</html>